package ann;

public class App {

    @Deprecated
    public void anyMethod() {
        System.out.println("Deprecated method");
    }

    public void say() {
        anyMethod();
    }
}